package com.yikes.srb.leadingModle.vo;

import com.yikes.srb.mybatis.base.BaseVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.HashMap;
import java.util.Map;

/**
 * <p>
 * 借款信息表
 * </p>
 *
 * @author guanrong.yin
 * @since 2024-12-03
 */
@Getter
@Setter
@Schema(name = "BorrowInfo对象", description = "借款信息VO")
public class BorrowInfoVO extends BaseVO {

    @Schema(description = "编号")
    private Long id;

    @Schema(description = "借款用户id")
    private Long userId;

    @Schema(description = "借款金额")
    private BigDecimal amount;

    @Schema(description = "借款期限")
    private Integer period;

    @Schema(description = "年化利率")
    private BigDecimal borrowYearRate;

    @Schema(description = "借款人姓名")
    private String name;

    @Schema(description = "手机")
    private String mobile;

    @Schema(description = "身份证号")
    private String idCard;

    @Schema(description = "年龄")
    private Integer age;

    @Schema(description = "还款方式 1-等额本息 2-等额本金 3-每月还息一次还本 4-一次还本")
    private String returnMethod;

    @Schema(description = "资金用途")
    private String moneyUse;

    @Schema(description = "状态（0：未提交，1：审核中， 2：审核通过， -1：审核不通过）")
    private String status;

}
